package com.pingan.haofang.searchcloud.monitor.dto;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 项目索引耗时 查询dto
 *
 * @author ex-liuxianwen001
 * @date 2018/11/26
 * @since 1.0.0
 */
@ApiModel(description = "项目索引耗时详情")
public class DashboardErrorSqlDTO {

    /*
     *索引id
     */
    @ApiModelProperty("索引id")
    private Long indexId;

    /*
     *索引名称
     */
    @ApiModelProperty("索引名称")
    private String indexName;

    /*
     *项目名称id
     */
    @ApiModelProperty("项目名称id")
    private Long projectId;
    /*
     *项目名称
     */
    @ApiModelProperty("项目名称")
    private String projectName;
    /*
     *错误sql，慢查询sql
     */
    @ApiModelProperty("错误sql，慢查询sql")
    private String sql;

    /*
     *sql查询时间
     */
    private Date queryTime;
    /*
     *sql执行耗时(ms)
     */
    @ApiModelProperty("sql执行耗时(ms)")
    private Integer queryCost;

    /*
     *sql查询时间
     */
    @ApiModelProperty("sql查询时间")
    private String queryDate;

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Date getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(Date queryTime) {
        this.queryTime = queryTime;
    }

    public Integer getQueryCost() {
        return queryCost;
    }

    public void setQueryCost(Integer queryCost) {
        this.queryCost = queryCost;
    }

    public String getQueryDate() {
        return queryDate;
    }

    public void setQueryDate(String queryDate) {
        this.queryDate = queryDate;
    }
}
